﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Media;

namespace SafeLoad.NControl.Assist
{
  /// <summary>
  /// 辅助标签的信息
  /// </summary>
  public class AuxiliaryLabel
  {
    /// <summary>
    /// 实例化一个对象
    /// </summary>
    public AuxiliaryLabel()
    {
      TextBrush = Colors.Black;
      TextBack = Colors.Transparent;
      LocationX = 0.5f;
    }

    /// <summary>
    /// 标签的文本信息
    /// </summary>
    public string Text { get; set; }

    /// <summary>
    /// 标签的文本颜色
    /// </summary>
    public Color TextBrush { get; set; }

    /// <summary>
    /// 标签的文本背景
    /// </summary>
    public Color TextBack { get; set; }

    /// <summary>
    /// 标签的横轴位置，小于1则为百分比，大于1则为绝对值
    /// </summary>
    public float LocationX { get; set; }
  }
}
